#ifndef _UASRT_H
#define _UASRT_H
#include "stm32f10x.h"
#include <stdio.h>

void USARTx_init(USART_TypeDef* USART_x,uint32_t bound,uint16_t USART_IT_x);
void USART1_init(uint32_t bound);
void USART2_init(uint32_t bound);
void USART3_init(uint32_t bound);

void send_byte(u8 byte);
void send_string(u8 *str);

#endif
